package com.wmh.baseservice.operationaid.pojo.vo.keyWordUsageRecordGroup;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author 谢骏
 * @date 2023/7/11 14:55
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "关键词记录更新请求对象")
public class KeyWordUpdateGroupReqVO {

    @NotNull(message = "未提交主键")
    private Long id;


    /**
     * 品类名称
     */
    @NotBlank(message = "未提交品类")
    private String categoryName;

    @NotBlank(message = "未提交名称")
    @Size(min = 1, max = 30, message = "名称长度必须在 1~30个字符之内")
    private String name;
}
